﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000129 RID: 297
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BFIDNBACIPF : IMessage<BFIDNBACIPF>, IMessage, IEquatable<BFIDNBACIPF>, IDeepCloneable<BFIDNBACIPF>, IBufferMessage
	{
		// Token: 0x1700040E RID: 1038
		// (get) Token: 0x06000DA5 RID: 3493 RVA: 0x00028F40 File Offset: 0x00027140
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BFIDNBACIPF> Parser
		{
			get
			{
				return BFIDNBACIPF._parser;
			}
		}

		// Token: 0x1700040F RID: 1039
		// (get) Token: 0x06000DA6 RID: 3494 RVA: 0x00028F47 File Offset: 0x00027147
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BFIDNBACIPFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000410 RID: 1040
		// (get) Token: 0x06000DA7 RID: 3495 RVA: 0x00028F59 File Offset: 0x00027159
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BFIDNBACIPF.Descriptor;
			}
		}

		// Token: 0x06000DA8 RID: 3496 RVA: 0x00028F60 File Offset: 0x00027160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFIDNBACIPF()
		{
		}

		// Token: 0x06000DA9 RID: 3497 RVA: 0x00028F73 File Offset: 0x00027173
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFIDNBACIPF(BFIDNBACIPF other) : this()
		{
			this.gameStoryLineId_ = other.gameStoryLineId_;
			this.eKLMJOGKIAN_ = other.eKLMJOGKIAN_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000DAA RID: 3498 RVA: 0x00028FA9 File Offset: 0x000271A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFIDNBACIPF Clone()
		{
			return new BFIDNBACIPF(this);
		}

		// Token: 0x17000411 RID: 1041
		// (get) Token: 0x06000DAB RID: 3499 RVA: 0x00028FB1 File Offset: 0x000271B1
		// (set) Token: 0x06000DAC RID: 3500 RVA: 0x00028FB9 File Offset: 0x000271B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameStoryLineId
		{
			get
			{
				return this.gameStoryLineId_;
			}
			set
			{
				this.gameStoryLineId_ = value;
			}
		}

		// Token: 0x17000412 RID: 1042
		// (get) Token: 0x06000DAD RID: 3501 RVA: 0x00028FC2 File Offset: 0x000271C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EKLMJOGKIAN
		{
			get
			{
				return this.eKLMJOGKIAN_;
			}
		}

		// Token: 0x06000DAE RID: 3502 RVA: 0x00028FCA File Offset: 0x000271CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BFIDNBACIPF);
		}

		// Token: 0x06000DAF RID: 3503 RVA: 0x00028FD8 File Offset: 0x000271D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BFIDNBACIPF other)
		{
			return other != null && (other == this || (this.GameStoryLineId == other.GameStoryLineId && this.eKLMJOGKIAN_.Equals(other.eKLMJOGKIAN_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000DB0 RID: 3504 RVA: 0x00029028 File Offset: 0x00027228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GameStoryLineId != 0U)
			{
				num ^= this.GameStoryLineId.GetHashCode();
			}
			num ^= this.eKLMJOGKIAN_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000DB1 RID: 3505 RVA: 0x00029075 File Offset: 0x00027275
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000DB2 RID: 3506 RVA: 0x0002907D File Offset: 0x0002727D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000DB3 RID: 3507 RVA: 0x00029088 File Offset: 0x00027288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.eKLMJOGKIAN_.WriteTo(ref output, BFIDNBACIPF._repeated_eKLMJOGKIAN_codec);
			if (this.GameStoryLineId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GameStoryLineId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000DB4 RID: 3508 RVA: 0x000290D8 File Offset: 0x000272D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GameStoryLineId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameStoryLineId);
			}
			num += this.eKLMJOGKIAN_.CalculateSize(BFIDNBACIPF._repeated_eKLMJOGKIAN_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000DB5 RID: 3509 RVA: 0x0002912C File Offset: 0x0002732C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BFIDNBACIPF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GameStoryLineId != 0U)
			{
				this.GameStoryLineId = other.GameStoryLineId;
			}
			this.eKLMJOGKIAN_.Add(other.eKLMJOGKIAN_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000DB6 RID: 3510 RVA: 0x00029179 File Offset: 0x00027379
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000DB7 RID: 3511 RVA: 0x00029184 File Offset: 0x00027384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U && num != 42U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.GameStoryLineId = input.ReadUInt32();
					}
				}
				else
				{
					this.eKLMJOGKIAN_.AddEntriesFrom(ref input, BFIDNBACIPF._repeated_eKLMJOGKIAN_codec);
				}
			}
		}

		// Token: 0x040005CF RID: 1487
		private static readonly MessageParser<BFIDNBACIPF> _parser = new MessageParser<BFIDNBACIPF>(() => new BFIDNBACIPF());

		// Token: 0x040005D0 RID: 1488
		private UnknownFieldSet _unknownFields;

		// Token: 0x040005D1 RID: 1489
		public const int GameStoryLineIdFieldNumber = 9;

		// Token: 0x040005D2 RID: 1490
		private uint gameStoryLineId_;

		// Token: 0x040005D3 RID: 1491
		public const int EKLMJOGKIANFieldNumber = 5;

		// Token: 0x040005D4 RID: 1492
		private static readonly FieldCodec<uint> _repeated_eKLMJOGKIAN_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x040005D5 RID: 1493
		private readonly RepeatedField<uint> eKLMJOGKIAN_ = new RepeatedField<uint>();
	}
}
